package com.start_eternity.oasissafewalk.service;

import com.start_eternity.oasissafewalk.pojo.FeedBack;
import com.start_eternity.oasissafewalk.pojo.PageBean;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * author:ZhangT
 * Date:2024 / 03 / 10 / 17:26
 * Description:
 */
@Service
public interface FeedBackService {

    //查询全部数据
    List<FeedBack> findAll();

    //根据id删除公告
    int delBatchId(List<Integer> nId);

    //添加反馈
    int insert(FeedBack feedBack);

    //分页查询
    public PageBean queryPage(int page, int pageSize);
}
